{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nvar genStickyStyle = function genStickyStyle(token) {\n  var componentCls = token.componentCls,\n    opacityLoading = token.opacityLoading,\n    tableScrollThumbBg = token.tableScrollThumbBg,\n    tableScrollThumbBgHover = token.tableScrollThumbBgHover,\n    tableScrollThumbSize = token.tableScrollThumbSize,\n    tableScrollBg = token.tableScrollBg,\n    zIndexTableSticky = token.zIndexTableSticky;\n  var tableBorder = \"\".concat(token.lineWidth, \"px \").concat(token.lineType, \" \").concat(token.tableBorderColor);\n  return _defineProperty({}, \"\".concat(componentCls, \"-wrapper\"), _defineProperty({}, \"\".concat(componentCls, \"-sticky\"), {\n    '&-holder': {\n      position: 'sticky',\n      zIndex: zIndexTableSticky,\n      background: token.colorBgContainer\n    },\n    '&-scroll': {\n      position: 'sticky',\n      bottom: 0,\n      height: \"\".concat(tableScrollThumbSize, \"px !important\"),\n      zIndex: zIndexTableSticky,\n      display: 'flex',\n      alignItems: 'center',\n      background: tableScrollBg,\n      borderTop: tableBorder,\n      opacity: opacityLoading,\n      '&:hover': {\n        transformOrigin: 'center bottom'\n      },\n      // fake scrollbar style of sticky\n      '&-bar': {\n        height: tableScrollThumbSize,\n        backgroundColor: tableScrollThumbBg,\n        borderRadius: 100,\n        transition: \"all \".concat(token.motionDurationSlow, \", transform none\"),\n        position: 'absolute',\n        bottom: 0,\n        '&:hover, &-active': {\n          backgroundColor: tableScrollThumbBgHover\n        }\n      }\n    }\n  }));\n};\nexport default genStickyStyle;","map":{"version":3,"names":["genStickyStyle","token","componentCls","opacityLoading","tableScrollThumbBg","tableScrollThumbBgHover","tableScrollThumbSize","tableScrollBg","zIndexTableSticky","tableBorder","lineWidth","lineType","tableBorderColor","position","zIndex","background","colorBgContainer","bottom","height","display","alignItems","borderTop","opacity","transformOrigin","backgroundColor","borderRadius","transition","motionDurationSlow"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/table/style/sticky.js"],"sourcesContent":["const genStickyStyle = token => {\n  const {\n    componentCls,\n    opacityLoading,\n    tableScrollThumbBg,\n    tableScrollThumbBgHover,\n    tableScrollThumbSize,\n    tableScrollBg,\n    zIndexTableSticky\n  } = token;\n  const tableBorder = `${token.lineWidth}px ${token.lineType} ${token.tableBorderColor}`;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [`${componentCls}-sticky`]: {\n        '&-holder': {\n          position: 'sticky',\n          zIndex: zIndexTableSticky,\n          background: token.colorBgContainer\n        },\n        '&-scroll': {\n          position: 'sticky',\n          bottom: 0,\n          height: `${tableScrollThumbSize}px !important`,\n          zIndex: zIndexTableSticky,\n          display: 'flex',\n          alignItems: 'center',\n          background: tableScrollBg,\n          borderTop: tableBorder,\n          opacity: opacityLoading,\n          '&:hover': {\n            transformOrigin: 'center bottom'\n          },\n          // fake scrollbar style of sticky\n          '&-bar': {\n            height: tableScrollThumbSize,\n            backgroundColor: tableScrollThumbBg,\n            borderRadius: 100,\n            transition: `all ${token.motionDurationSlow}, transform none`,\n            position: 'absolute',\n            bottom: 0,\n            '&:hover, &-active': {\n              backgroundColor: tableScrollThumbBgHover\n            }\n          }\n        }\n      }\n    }\n  };\n};\nexport default genStickyStyle;"],"mappings":";AAAA,IAAMA,cAAc,GAAG,SAAjBA,cAAc,CAAGC,KAAK,EAAI;EAC9B,IACEC,YAAY,GAOVD,KAAK,CAPPC,YAAY;IACZC,cAAc,GAMZF,KAAK,CANPE,cAAc;IACdC,kBAAkB,GAKhBH,KAAK,CALPG,kBAAkB;IAClBC,uBAAuB,GAIrBJ,KAAK,CAJPI,uBAAuB;IACvBC,oBAAoB,GAGlBL,KAAK,CAHPK,oBAAoB;IACpBC,aAAa,GAEXN,KAAK,CAFPM,aAAa;IACbC,iBAAiB,GACfP,KAAK,CADPO,iBAAiB;EAEnB,IAAMC,WAAW,aAAMR,KAAK,CAACS,SAAS,gBAAMT,KAAK,CAACU,QAAQ,c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